//
//  CycleModel.swift
//  DouYuZB
//
//  Created by James on 2017/10/19.
//  Copyright © 2017年 James. All rights reserved.
//

import UIKit

class CycleModel: NSObject {
    @objc var title:String?
    @objc var pic_url:String?
    //主播信息字典
    @objc var room : [String:NSObject]?{
        didSet{
            guard let room = room else { return  }
            anchor = AnchorModel(dict: room)
        }
    }
    //主播模型
    var anchor : AnchorModel?
    
    init(dict:[String:NSObject]) {
        super.init()
        setValuesForKeys(dict)
    }
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
}
